﻿@model QuanLyGiaoVuUI.Models.GiangVienClient.ThongTinGiangVienClientViewModel

@{
    ViewBag.Title = "ThemGiangVien";
    //Layout = null;
    Layout = "~/Views/Shared/_GiangVienClientLayout.cshtml";
}

<style>
    .gvInfor {
        width: 75%;
        margin: 0 auto;
    }
    div.infogv table tr td {
padding: 5px;
font-size: 13px;
}
</style>

<div id="gv-main-wrapper">
    @{ Html.RenderPartial("GiangVienClientMenuPartial");}


    <div id="main" class="grid_10 gvclientmain">
        <!--  start page-heading -->

        <div id="page-heading" class="box round first grid">
            <h2>Thông tin giảng viên</h2>
            <!-- end page-heading -->

            <div id="gvclientmaincontent" class="block">
                <div>
                    @if (Model != null)
                    {
                        <center><h1><strong>THÔNG TIN GIẢNG VIÊN</strong></h1></center>
                        <form class="gvInfor">
                            <div class="infogv">
                                <table>
                                    <tbody>
                                        <tr>
                                            <td>
                                                <p><b>Họ tên</b></p>
                                                <p><b>Giới tính</b></p>
                                                <p><b>Ngày sinh</b></p>
                                            </td>
                                            <td width="30%">
                                                <p>
                                                    @Model.HoTenGV
                                                </p>
                                                <p>@(Model.GioiTinh==1?"Nam":"Nữ")</p>
                                                <p>
                                                   @(Model.NgaySinh.HasValue ? ((DateTime)Model.NgaySinh).ToShortDateString() : String.Empty)
                                                </p>
                                            </td>
                                            <td></td>
                                            <td>
                                                @*<img src="" width="110" height="140">*@
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><b>Mã giảng viên</b></td>
                                            <td width="\&quot;30%\&quot;">
                                                @Model.MaGiangVien</td>
                                        </tr>
                                        @*<tr>
                                            <td width="\&quot;20%\&quot;"><b>Email trường</b></td>
                                            <td width="\&quot;30%\&quot;">
                                                08520595@gm.uit.edu.vn</td>
                                            <td width="\&quot;20%\&quot;"><b>Email Alias</b></td>
                                            <td width="\&quot;30%\&quot;">
                                              @Model.Email</td>
                                        </tr>*@
                                        <tr>
                                            <td width="\&quot;20%\&quot;"><b>Email cá nhân</b></td>
                                            <td width="\&quot;30%\&quot;">
                                                @Model.Email</td>
                                            <td width="\&quot;20%\&quot;"><b>Điện thoại</b></td>
                                            <td width="\&quot;30%\&quot;">
                                                @Model.SoDienThoai</td>
                                        </tr>
                                        <tr>
                                            <td width="\&quot;20%\&quot;"><b>Học vị</b></td>
                                            <td width="\&quot;30%\&quot;">
                                                @Model.HocVi.TenHocVi</td>
                                            <td width="\&quot;20%\&quot;"><b>Học hàm</b></td>
                                            <td width="\&quot;30%\&quot;">
                                               @Model.HocHam.TenHocHam</td>
                                        </tr>
                                        <tr>
                                            <td width="\&quot;20%\&quot;"><b>Chức danh</b></td>
                                            <td width="\&quot;30%\&quot;">
                                               @Model.ChucDanh.TenChucDanh</td>
                                            <td width="\&quot;20%\&quot;"><b>Chức vụ</b></td>
                                            <td width="\&quot;30%\&quot;">
                                                </td>
                                        </tr>
                                        <tr>
                                            <td width="\&quot;20%\&quot;"><b>Bộ môn</b></td>
                                            <td width="\&quot;30%\&quot;">
                                               @if (Model.BoMon != null) { <span>@Model.BoMon.TenBoMon</span>}</td>     
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="info">
                                <hr />
                                <div><b>Địa chỉ thường trú</b></div>
                                <table>
                                    <tbody>
                                        <tr>
                                            <td><b>Thường trú: </b></td>
                                            <td>
                                                @Model.DiaChi</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                           @* <input type="submit" name="btsubmit" value="Cập nhật">*@
                        </form>
                    }
                </div>
            </div>
        </div>
    </div>

    <div class="clear">&nbsp;</div>

</div>
